package com.goldcn.user.dao;

import com.goldcn.user.model.UserRole;

import java.util.List;

public interface UserRoleMapper {
    int deleteByPrimaryKey(Long ID);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Long ID);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    List<UserRole> selectByRoleID(Long roleID);

    int deleteByUserID(Long userID);

    List<UserRole> selectByUserID(Long userID);

    int batchInsert(List<UserRole> urList);
}